package com.fortune.dto.in.sms;

import javax.validation.constraints.Pattern;

import com.fortune.constants.PatternConstants;

import io.swagger.annotations.ApiModelProperty;

public class SmsReSetPassWordDto {
	@Pattern(regexp=PatternConstants.PHONE, message="手机号格式错误")
	@ApiModelProperty(required=true, example="手机号码")
	private String phone;

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "ReSetPassWordDto [phone=" + phone + "]";
	}
}
